#include "StdAfx.h"
#include "PreferencesDialog.h"
#include "ui_PreferencesDialog.h"

class PreferencesDialogPrivate
{
public:
	PreferencesDialogPrivate(PreferencesDialog* parent)
	{
	}
public:
	Ui::PreferencesDialog ui;
};

PreferencesDialog::PreferencesDialog(QWidget *parent)
	: QDialog(parent)
	, d_ptr(new PreferencesDialogPrivate(this))
{
	Q_D(PreferencesDialog);
	d->ui.setupUi(this);
}

PreferencesDialog::~PreferencesDialog()
{
	
}

void 
PreferencesDialog::buttonBoxClicked(QAbstractButton* button)
{
	Q_D(PreferencesDialog);
	if(button == d->ui.buttonBox->button(QDialogButtonBox::Apply))
		apply();
}

void 
PreferencesDialog::apply()
{
	
}